projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11e6c98
)
don't set gpsbabel::XmlStreamWriter codec in mapfactor (#733)
author
tsteven4
<13596209+tsteven4@users.noreply.github.com>
Wed, 13 Oct 2021 13:17:09 +0000
(07:17 -0600)
committer
GitHub
<noreply@github.com>
Wed, 13 Oct 2021 13:17:09 +0000
(07:17 -0600)
We use utf-8 by default as of #671.
mapfactor.cc
patch
|
blob
|
history
diff --git
a/mapfactor.cc
b/mapfactor.cc
index 4611eae9828ba3a6fea519479e7cc6cdffe713d9..6aaf062264ea268f9c1b6200c52e1e0bd6fd1d48 100644
(file)
--- a/
mapfactor.cc
+++ b/
mapfactor.cc
@@
-102,9
+102,6
@@
mapfactor_wr_init(const QString& fname)
oqfile->open(QIODevice::WriteOnly | QIODevice::Text);
writer = new gpsbabel::XmlStreamWriter(oqfile);
- // Override the "UTF-8-XML" with ... the default.
- writer->setCodec("utf-8");
-
writer->setAutoFormatting(true);
writer->setAutoFormattingIndent(2);
writer->writeStartDocument();